home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Registry Checker 2.xpl < prev    next >
Text File  |  2001-11-27  |  1KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="4"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Built in Windows Apps\Windows Registry Checker"
  5. "NAME"="Backup Path"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Backup Path:"
  8. "DESCRIPTION 1"="In Windows 98 and Me, Microsoft included the Windows Registry Checker, a program which scanned the registry, to check for errors, and to create a backup."
  9. "DESCRIPTION 2"="By default, the registry is backed up to C:\Windows\Sysbckup, but you can change it here. To reset this to the default folder, just clear the box."
  10. "COMMENT 1"="Thanks to Axcel216 [axcel216@aol.com] for the idea!"
  11. "VERSION"="1.02"
  12. "AUTHOR"="Xteq Systems (Neil R. Turner)"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "CONTACTURL"="http://www.xteq.com/"
  15. "OSVERSION"="001010"
  16.  
  17. w=GetWinDir
  18. sF="scanreg.ini"
  19.  
  20. SUB Plugin_Initialize
  21.  Call TxTOpen(w & sF)
  22.  
  23.  i=TxtFindLine("BackupDirectory=",false)
  24.  if i>0 then
  25.   s=TxtGetLine(i)
  26.   i=InStr(s,"=")
  27.   s=Right(s,len(s)-i)
  28.   Call SetUIElement(1,s)
  29.  end if
  30. END SUB
  31.  
  32. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  s=GetUIElement(1)
  34.  i=TxtFindLine("BackupDirectory=",false)
  35.  Call TxtSetLine(i,"BackupDirectory=" & s)
  36.  
  37.  Call FileBackup(w & sF)
  38.  Call TxtSave()
  39. END SUB
  40.  
  41. SUB Plugin_Terminate
  42.  Call TxtClose()
  43. END SUB
  44.